package de.dubiel.plung.client.pages.game;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class GamePlace extends Place {
    private final String token = "game";

    public GamePlace() {
    }

    public String getstartName() {
        return token;
    }

    public static class Tokenizer implements PlaceTokenizer<GamePlace> {
        @Override
        public String getToken(GamePlace place) {
            return place.getstartName();
        }

        @Override
        public GamePlace getPlace(String token) {
            return new GamePlace();
        }
    }

}
